/**
 * 作者: 会写BUG
 * 创作日期: 2025/3/31 17:42
 * 描述: cwbQtPractice.MenuPanel
 *
 **/
#pragma once

#include <QWidget>

#include "game_button.h"

class MenuPanel
    : public QWidget
{
    Q_OBJECT

public:
    explicit MenuPanel(QWidget* _parent = nullptr);
    ~MenuPanel() override;

Q_SIGNALS:
    /* 关于游戏 */
    void aboutGame();

private Q_SLOTS:
    /* 按钮点击按钮 */
    void buttonClicked();

protected:
    void paintEvent(QPaintEvent* event) override;

private:
    QList<GameButton*> buttons_ = {};
};
